package yxy.game.pm2.active.module.subordinateclass;

import yxy.apple.util.RandomUtility.Weight;

public class randomTaskid implements Weight {
	
	private int taskid;
	private int percent;	//权重
	
	public randomTaskid(int taskid, int percent) {
		this.taskid = taskid;
		this.percent = percent;
	}

	public int getTaskid() {
		return taskid;
	}
	public void setTaskid(int taskid) {
		this.taskid = taskid;
	}
	public int getPercent() {
		return percent;
	}
	public void setPercent(int percent) {
		this.percent = percent;
	}

	@Override
	public int getWeight() {
		return percent;
	}

}
